import geoip from 'geoip-lite'
import { interfaces } from 'mocha'


export interface ProxyResponse<T> {
    data: T[]
    pageTotal: Number
    currentPage: Number
    startPage: Number
    endPage: Number
}

export interface PageInterface {
    totalPage: number
    startSilce: number
    endSilce: number
    startPage: number
    endPage: number
}

export interface ProxyModel {
    _id: string
    ip: string
    port: number
    speed: number
    protocol?: string
    country?: string
    city?: string
    title?: number
    fail?: number
    updateTime?: string,
    flag:boolean
}